home *** CD-ROM | disk | FTP | other *** search
- Path: gisdev.genasys.com.au!not-for-mail
- From: roberts@genasys.com.au (Robert Swan)
- Newsgroups: comp.sys.amiga.misc
- Subject: Re: OS features
- Date: 17 Jan 1996 07:35:03 +1100
- Organization: Genasys II, Australia
- Message-ID: <4dh25n$4n4@gisdev.genasys.com.au>
- References: <92747544038@PAPA.NORTH.DE> <4d2tcm$5t@ousrvr3.oulu.fi> <1320.6588T928T488@supernet.ab.ca> <Pine.OSF.3.91.960116171255.26229B-100000@sable.ox.ac.uk>
- NNTP-Posting-Host: gisdev.genasys.com.au
-
- In article <Pine.OSF.3.91.960116171255.26229B-100000@sable.ox.ac.uk>,
- Ben Hutchings <worc0223@sable.ox.ac.uk> wrote:
- >On 15 Jan 1996, Kor Nielsen wrote:
- >> of the OS, but it seems that a lot of the programs for Windows crash way more
- >> than the ones for AmigaDos. Memory protection only encourages sloppy
- >> programming, which I would like to stay off the amiga platform, for fear of
- >> bug filled programs which you don't know are going to crash in the middle of
- >> your important document or not.
- >
- >This is clearly rubbish. Memory protection makes it impossible to write a
- ^^^^^^^^^^
- >program which trashes memory without being made painfully aware of it
- >during development. As it is now, it is quite possible for software to
- >write over, say, memory they already deallocated and usually get away
- >with it, so that the crashes this bug causes appear to be random and it
- >is not fixed.
-
- Now who's talking rubbish? If memory protection makes you
- "painfully aware" of memory corruption, how does a company like
- Pure Software manage to do such good business selling Purify (an
- illegal memory access detector) to Unix developers? Their
- product is indeed excellent, and very useful for finding lurking
- bugs. Even with Purify, there may still be bugs. You really are
- kidding yourself if you think Unix's core dumps (and their ilk)
- trap anything more than the most blatant of errors. I have found
- lurking bugs in software I've ported from my Amiga to Unix. I've
- also found them going the other way.
-
- Memory protection is no substitute for good design. If you
- expect an MMU to find your bugs, you are a sloppy programmer.
- This doesn't mean that I am above using Enforcer/Mungwall or
- Purify when I code. However I use these tools to put a
- "blessing" on my programs, and feel heavily chastened if they
- actually find anything wrong.
-
- Have fun,
-
- Robert.
- --
- Robert Swan, | No, not the Antarctic adventurer.
- roberts@genasys.com.au | No, not the Canberra porn monger.
- Genasys II Pty. Ltd., North Sydney. | Yes, that's right. The boring one.
-